package tq.com.tqandroidim;

public class TQIMMsg {

    //id
    private int to;
    private int toGroup;
    private int from;

    private int contentType;
    private String content;


    public int getTo() {
        return to;
    }

    public void setTo(int pTo) {
        to = pTo;
    }

    public int getToGroup() {
        return toGroup;
    }

    public void setToGroup(int pToGroup) {
        toGroup = pToGroup;
    }

    public int getFrom() {
        return from;
    }

    public void setFrom(int pFrom) {
        from = pFrom;
    }

    public int getContentType() {
        return contentType;
    }

    public void setContentType(int pContentType) {
        contentType = pContentType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String pContent) {
        content = pContent;
    }

    private TQIMMsgCallback mMsgCallback;
    public void setMsgCallback(TQIMMsgCallback pCallback){
        mMsgCallback = pCallback;
    }

    public TQIMMsgCallback getMsgCallback(){
        return mMsgCallback;
    }

    public interface TQIMMsgCallback{
        void result(boolean isSucess);
    }
}
